﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Supersense.db;

/// <summary>
/// Static 的摘要说明
/// </summary>
public class StaticHtml
{
    public Database db;

    public StaticHtml()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
        this.db = new Database();
	}

    public DataTable get_static_by_param(string param)
    {
        string sql = "SELECT * FROM sup_static_html WHERE eng_id = '" + param + "'";
        DataView dv = this.db.executedv(sql);
        DataTable dt = dv.Table;
        return dt;
    }
}
